package edu.sctu.fengleilin.month05.day150505;

/**
 * Created by user09 on 2015/5/5.
 */
public  class TextTwo extends TextOne {

  //  public TextInterFace textmain;
   // public TextTwo(TextInterFace textmain){
    //    this.textmain = textmain;
    //}
//    public void get(){
//    }

    @Override
    public void getcolor() {
        color = "white";
    }

    @Override
    public void getsize() {
        size = 10;
    }

    @Override
    public void getaction() {
       action = "run";
    }

     public void getInfo(TextInterFace textInterFace){
         textInterFace.getInfo(color,size,action);
     }
}
